package com.cw.mapper2;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cw.entity.PatientBedMiddleRjbf;
import com.cw.vo.ThisIiPrepayinRJVO;
import com.cw.vo.rjszVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author smq
 * @since 2021-05-09
 */
@Repository
public interface PatientBedMiddleRjszMapper extends BaseMapper<PatientBedMiddleRjbf> {

    ThisIiPrepayinRJVO getIiPrepayinByIdRJ(@Param("preid") BigDecimal preid);
    List<rjszVO> searchRJSS();

    List<rjszVO> searchRJSZ();

    Integer searchCount(@Param("type")int type);

    PatientBedMiddleRjbf selectByPreid(@Param("preid") Long preid);

    rjszVO selectCountByWeekday(rjszVO rjszVOS);
}
